package com.xy.exam.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;

@Data
public class UserLoginDTO {
    @NotBlank(message = "添加用户名失败,用户名不能为空")
    private String username;
    @NotEmpty(message = "添加密码失败,密码不能为空")
    private String password;
}
